<?php

namespace App\Models;

use Encore\Admin\Traits\DefaultDatetimeFormat;
use Illuminate\Database\Eloquent\Model;

class BaseModel extends Model
{
    use  DefaultDatetimeFormat;

//    use ModelTree,

    const CREATED_AT = 'create_time';
    const UPDATED_AT = 'update_time';

    public $timestamp = 'datetime';

    public $dateFormat = 'Y-m-d H:i:s';
}
